NDepend.API Documentation
Item Property (ICodeMetric<TCodeElement,TNumeric>)
NDepend.CodeModel Namespace > ICodeMetric<TCodeElement,TNumeric> Interface : Item Property
The code element.
Gets this code metric value for codeElement. Gets null if the metric is not defined for codeElement.
Syntax

Parameters

codeElement
The code element.
Remarks
This accessor is equivalent to the method ValueOf.
This method has a constant time complexity.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ICodeMetric<TCodeElement,TNumeric> Interface
ICodeMetric<TCodeElement,TNumeric> Members